package com.xr.system.student;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@EnableDiscoveryClient
@SpringBootApplication
@MapperScan(basePackages = "com.xr.system.student.mapper")
@ComponentScan(basePackages = "com.xr")
public class ServiceStudent {

    public static void main(String[] args) {
        SpringApplication.run(ServiceStudent.class, args);
        System.out.println("在线接口文档地址：http://127.0.0.1:1000/doc.html");
    }

}
